package com.aster.common.api.dto.dt2dto;

import com.aster.common.api.domain.TbEscortUserInfo;
import com.aster.common.api.dto.DtoEscortUserInfo;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

import java.util.List;

@org.mapstruct.Mapper
public interface EscortUserInfoConvert {

    EscortUserInfoConvert MAPPER = Mappers.getMapper(EscortUserInfoConvert.class);

    public DtoEscortUserInfo dos2dto(TbEscortUserInfo tbEscortUserInfo);

    public List<DtoEscortUserInfo> dos2dtos(List<TbEscortUserInfo> tbEscortUserInfo);
}
